package com.xlh.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 班级课程结果集
 * <p>
 * Created by lx on 2019/3/19 0019.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClassCourseDTO {

    @ApiModelProperty(value = "班级id")
    private Long id;

    @ApiModelProperty(value = "班级名称")
    private String name;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "是否结课 true：已结课 false：未结课")
    private Boolean ended;

    @ApiModelProperty(value = "课程id")
    private Long courseId;

    @ApiModelProperty(value = "班级标识")
    private Long classUserId;

    public ClassCourseDTO(Long id, String grade, Boolean ended) {
        this.id = id;
        this.grade = grade;
        this.ended = ended;
    }
}
